package com.gof.example.flyweight;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/8 09:44.
 * haiming.fei@tongdun.cn
 */
public class Area {

    private int width;
    private int height;

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    @Override
    public String toString() {
        return "Area{" +
                "width=" + width +
                ", height=" + height +
                '}';
    }
}
